package com.linys.scala.study.demo

/**
  * Created by admin on 2019/10/11.
  */
object IntegerReference {
  def main(args: Array[String]): Unit = {
    val cell = new Reference[Int]
    cell.set(13)
    println("Reference contains the half of " + (cell.get * 2))
  }
}
